package br.ufpe.cin.dsoa.qos.epcenter.service;

import java.util.List;
import java.util.Map;

public interface EventProcessingCenter {

	@SuppressWarnings("rawtypes")
	public void defineEvent(Class event);

	public void publishEvent(Object event);

	@SuppressWarnings("rawtypes")
	public void publishEvent(Map event, String eventName);

	public void defineStatement(String name, String statement, List<String> userObject);
	
	public void defineStatement(String name, String statement);

	public void subscribe(String nameStatement, EventConsumer eventConsumer);

	public void destroyStatement(String statementName);

}
